package name;




import java.util.*;

public class test {
    public static void main(String[] args) {
             Set<info> list =new TreeSet<>(new Comparator<info>() {
                 @Override
                 public int compare(info o1, info o2) {
                     return Double.compare(o1.getScores(), o2.getScores());
                 }
             });

             list.add(new info("wu",19,20));
             list.add(new info("wu",190,20));
             list.add(new info("wu",193,920));
             list.add(new info("wu",199,20));
    }
}
